package com.itshidu.jiaowu.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author XiaZengming123
 * @since 2019-07-08
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private String username;
    /**
     * 盐
     */
    private String salt;
    private String password;
    private String phone;
    private String email;
    /**
     * 身份证
     */
    @TableField("idc_code")
    private String idcCode;
    /**
     * 身份证正面照地址
     */
    @TableField("idc_img1")
    private String idcImg1;
    /**
     * 身份证反面照地址
     */
    @TableField("idc_img2")
    private String idcImg2;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setIdcCode(String idcCode) {
        this.idcCode = idcCode;
    }

    public void setIdcImg1(String idcImg1) {
        this.idcImg1 = idcImg1;
    }

    public void setIdcImg2(String idcImg2) {
        this.idcImg2 = idcImg2;
    }

    public void setIdcConfirm(Integer idcConfirm) {
        this.idcConfirm = idcConfirm;
    }

    public void setWx(String wx) {
        this.wx = wx;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUsername() {
        return username;
    }

    public String getSalt() {
        return salt;
    }

    public String getPassword() {
        return password;
    }

    public String getPhone() {
        return phone;
    }

    public String getEmail() {
        return email;
    }

    public String getIdcCode() {
        return idcCode;
    }

    public String getIdcImg1() {
        return idcImg1;
    }

    public String getIdcImg2() {
        return idcImg2;
    }

    public Integer getIdcConfirm() {
        return idcConfirm;
    }

    public String getWx() {
        return wx;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getSite() {
        return site;
    }

    public Date getBirthday() {
        return birthday;
    }

    public String getSex() {
        return sex;
    }

    public String getAddress() {
        return address;
    }

    public String getQq() {
        return qq;
    }

    public String getRemark() {
        return remark;
    }

    public String getType() {
        return type;
    }

    /**
     * 是否通过实名验证 1.通过 2.未通过
     */
    @TableField("idc_confirm")
    private Integer idcConfirm;
    /**
     * 微信
     */
    private String wx;
    /**
     * 头像地址
     */
    private String avatar;
    /**
     * 籍贯
     */
    private String site;
    /**
     * 生日
     */
    private Date birthday;
    /**
     * 性别
     */
    private String sex;
    /**
     * 现住址
     */
    private String address;
    /**
     * qq
     */
    private String qq;
    /**
     * 备注
     */
    private String remark;
    /**
     *  1 老师  2 学生
     */
    private String type;



}
